<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Insert title here</title>
</head>
<body>
<form action="dologin.jsp" method="post">
  <table align="center">
      <caption>
           <h3>欢迎来到聊天室</h3>
      </caption>
       <tr>
          <td>请输入用户名：</td>
          <td><input type="text" name="name"></td>
       </tr>
       <tr>
         <td colspan="2" align="center"><input type="submit" value="进入聊天室"></td>
       </tr>
  </table></form>
</body>
</html>